package factory.one.entity;

/**
 * @author sk.z
 * 2023/6/26
 * 客户
 **/
public class Custom {

    private Long id;
    private String name;
    private String phone;
    private String remark; //备注
    private String createUser; //创建用户
    private Integer status; //0-删除 1-正常

    public static final String CREATE_SQL = "    create table CUSTOM (\n" +
            "        ID bigint not null GENERATED ALWAYS AS IDENTITY,\n" +
            "        NAME varchar(64) not null,\n" +
            "        PHONE varchar(16) not null,\n" +
            "        REMARK varchar(128) ,\n" +
            "        CREATE_USER varchar(32) not null,\n" +
            "        STATUS int not null,\n" +
            "        primary key (id)\n" +
            "    )";

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}

